<%
    Users user = Trader.getUser(request.getParameter("uid"));
	wstrader.task.warehouse.wr.ExProcess task = user.warehouse.whse_receipt.ex_pro;

	if (!user.Authenticated()) {
		response.sendRedirect("logon.jsp");
		return;
	}
	((Tasks)task.getOwner()).clearFocus();
	task.setFocus(true);	
	
%>

<%@include file="header.jsp"%>

<%	
	if (task.getRequest().getIntValue("view") == 0) {
%>	
		<%@include file="warehouse.wr.list-view.jsp"%>
<%		
	} else {
%>
		<%@include file="warehouse.wr.card-view.jsp"%>
<%
	}
%>

<%@include file="footer.jsp"%>

